package com.itheima01;

/**
 * @author Xiao
 * @date 2021/7/7
 */
public class ExtendsTest01 {
    /**
     *      测试类
     *      1.1继承概述
     */
    public static void main(String[] args) {
        Fu f = new Fu();
        Zi z = new Zi();
        System.out.print("f.show()\t");
        f.show();
        System.out.print("z.method()\t");
        z.method();
        System.out.print("z.show()\t");
        z.show();
    }
}
